|
|
|
|
|
|
|
Figure 4.6
Measuring escapement for rotated text. |
|
|
|
|
|
|
|
|
The Orientation parameter specifies the orientation angle of the characters in tenths of degrees. Windows assumes that Escapement and Orientation are the same, so it ignores Orientation. |
|
|
|
|
|
|
|
|
The Weight parameter specifies the weight of the font. You can specify one of the values listed in Table 4.1. The result depends on the font. Many fonts honor only FW_NORMAL and FW_BOLD weights, and other values are mapped to one of those. If you set the weight to FW_DONTCARE (0), the font mapper uses a default weight. Note that some of the values are duplicates. For instance, FW_NORMAL and FW_REGULAR both have value 400, so they produce the same result. |
|
|
|
|
| Table 4.1 Font Weight Constants | | CONSTANT | VALUE | | FW_DONTCARE | 0 | | FW_THIN | 100 | | FW_EXTRALIGHT | 200 | | FW_ULTRALIGHT | 200 | | FW_LIGHT | 300 | | FW_NORMAL | 400 | | FW_REGULAR | 400 | | FW_MEDIUM | 500 | | FW_SEMIBOLD | 600 | | FW_DEMIBOLD | 600 | | FW_BOLD | 700 | | FW_EXTRABOLD | 800 | | FW_ULTRABOLD | 800 | | FW_BLACK | 900 | | FW_HEAVY | 900 |
|
|
|